<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>上门系统</title>
	{js href="__ROOT__/static/user/js/mui.min.js" /}
	{js href="__ROOT__/static/user/fonts/iconfont.js" /}
	{js href="__ROOT__/static/user/js/jquery.js" /}
	{js href="__ROOT__/static/user/js/umxTool.js" /}
	{css href="__ROOT__/static/user/css/mui.min.css" /}
	{css href="__ROOT__/static/user/fonts/iconfont.css" /}
	{css href="__ROOT__/static/user/css/styleme.css" /}
	{css href="__ROOT__/static/user/css/cy_style.css" /}
    <style>
		img{max-width:100%}
    	.cy_product_content div{margin: 0.5rem 0rem;}
    </style>
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="#"></a>
		<h1 class="mui-title">商户详情</h1>
	</header>
	<!--底部选项卡-->
<script>		//如果只是手机版，解决导航a标签不能跳转页面可以
mui('body').on('tap','a',function(){document.location.href=this.href;});
//如果还有电脑版的话，解决导航a标签不能跳转页面就要用
mui('body').on('click','a',function(){document.location.href=this.href;});</script>
  <nav class="mui-bar mui-bar-tab">
      <a class="mui-tab-item" href="#">
          <span class="mui-icon icon"><svg class="icon" aria-hidden="true">
  <use xlink:href="#icon-shouye-shouye"></use>
</svg></span>
          <span class="mui-tab-label">首页</span>
      </a>
      <a class="mui-tab-item" href="#">
          <span class="mui-icon"><svg class="icon" aria-hidden="true">
  <use xlink:href="#icon-dingdan"></use>
</svg></span>
          <span class="mui-tab-label">订单</span>
      </a>
      
      <a class="mui-tab-item" href="#">
          <span class="mui-icon"><svg class="icon" aria-hidden="true">
  <use xlink:href="#icon-iconfontwode"></use>
</svg></span>
          <span class="mui-tab-label">我的</span>
      </a>
  </nav>
	<div class="mui-content">
	   <div id="slider" class="mui-slider" >
	  <div class="mui-slider-group mui-slider-loop">
	    <!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
	    <div class="mui-slider-item mui-slider-item-duplicate">
	      <a href="#">
	        <img src="{if $data.image1}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	    <!-- 第一张 -->
	    <div class="mui-slider-item">
	      <a href="#">
	        <img src="{if $data.image1}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	    <!-- 第二张 -->
	    <div class="mui-slider-item">
	      <a href="#">
	         <img src="{if $data.image2}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	    <!-- 第三张 -->
	    <div class="mui-slider-item">
	      <a href="#">
	         <img src="{if $data.image3}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	    <!-- 第四张 -->
	    <div class="mui-slider-item">
	      <a href="#">
	         <img src="{if $data.image4}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	    <!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
	    <div class="mui-slider-item mui-slider-item-duplicate">
	      <a href="#">
	        <img src="{if $data.image4}{$data.image1}{else}__ROOT__/static/public/images/default.png{/if}">
	      </a>
	    </div>
	  </div>
	  <div class="mui-slider-indicator">
	    <div class="mui-indicator mui-active"></div>
	    <div class="mui-indicator"></div>
	    <div class="mui-indicator"></div>
	    <div class="mui-indicator"></div>
	  </div>
	</div>
	<script>
		//获得slider插件对象
var gallery = mui('.mui-slider');
gallery.slider({
  interval:2000//自动轮播周期，若为0则不自动播放，默认为0；
});
	</script>
    
  <div class="cy_shop_details">
  	<div class="cy_shop_content">
		<div style="float:left;margin-right:10px;">
			<img style="width:50px;height:50px;border-radius:50px;border:1px solid #ddd" src="{$data.headimg}">
		</div>
		<div style="float:left">
			<span style="font-size:1rem">{$data.name}</span> {if $data.deposit > 0}<img style="width:15px" src="__ROOT__/static/public/images/caution_money.png">1000元{/if}<br>
			<label>{$data.phone}</label>
		</div>
  	</div>
  	<div class="cy_shop_contenteDetails">
		{$data.introduce}
  	</div>
  </div>
{js href="__ROOT__/static/user/js/jquery.nicescroll.min.js" /}
</body>
</html>